package mc0101.mccache.factory;

import mc0101.mccache.entity.ComParmInf;
import mc0101.mccache.util.RemcParmCache;

import java.util.HashMap;
import java.util.Map;

public class ComParmInfFactory {

	public static ComParmInf getComParmInfByParmTypAndKey(String parmTyp,
														  String parmKey) {
		Map<String, Object> filterMap = new HashMap<String, Object>();
		filterMap.put("parmTyp", parmTyp);
		filterMap.put("parmKey", parmKey);

		return RemcParmCache.getParamObject(ComParmInf.class, filterMap);

	}

}